.TH std::bad_exception::operator= 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::bad_exception::operator= \- std::bad_exception::operator=

.SH Synopsis
   bad_exception& operator=( const bad_exception& other ) throw();   \fI(until C++11)\fP
   bad_exception& operator=( const bad_exception& other ) noexcept;  \fI(since C++11)\fP

   Assigns the contents of other.
   If *this and other both have dynamic type std::exception then std::strcmp(what(),
   other.what()) == 0 after assignment.
   \fI(since C++11)\fP

.SH Parameters

   other - another bad_exception object to assign

.SH Return value

   *this.
